<?php $this->load->view('admin/component/header.html') ?>
<?php
    $detail = adminDetail();
    if (empty($detail)) {
        redirect('/login');
        exit;
    }
?>
<div class="wrapper">

    <!-- Main Header-bar -->
    <?php $this->load->view('admin/component/main-header.html', array('detail' => $detail))?>

    <!-- Left Side-bar -->
    <?php $this->load->view('admin/component/left-sidebar.html', array('detail' => $detail))?>